<!DOCTYPE html>
<html>
<head>
        <meta charset="UTF-8">
<script src="/jquery-1.12.4.js">
</script>
<script>
$(document).ready(function(){
  $("#btn1").click(function(){
      var tom = "Tom";
      var jack = "I am Jack";
    $("p").append("<b style='color: red'> 666</b>","new","good",tom,jack);
  });

//   $("#btn2").click(function(){
//     $("ol").before("<li>Appended item</li>","666");
//   });
});
</script>
</head>

<body>
<p style="background: green;height: 100px;" >Hello world!</p>
<!-- <p >This is another paragraph.</p> -->
<ol  >
<li  class="choose">List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
<button id="btn1">追加文本</button>
<button id="btn2">追加列表项</button>
</body>
</html>
